package com.yunshang.shoppingmall.service.ShopTask.impl;

import com.yunshang.shoppingmall.entity.ShopTask;
import com.yunshang.shoppingmall.mapper.ShopTaskMapper;
import com.yunshang.shoppingmall.service.ShopTask.ShopTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/*@Transactional*/
@Service("ShopTaskService")
public class ShopTaskServiceimpl implements ShopTaskService {

    @Autowired
    ShopTaskMapper shopTaskMapper;


    @Override
    public List<ShopTask> selectShopTaskList() {
        return shopTaskMapper.selectShopTaskList();
    }

    //更新会员资料
    @Override
    public int updateByPrimaryKeySelective(ShopTask record) {

        return shopTaskMapper.updateByPrimaryKeySelective(record);
    }
}
